﻿
	 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using RBAC.Service.Dto;

namespace RBAC.Service.Dto
{
    [DataContract]
    public class UserDto : BaseDto
    {
						  
		//string
		private String _username;
        [DataMember]
        public String Username { get { return string.IsNullOrEmpty(_username) ? null : _username.Trim(); } set { _username = value; } }
					  
		//string
		private String _password;
        [DataMember]
        public String Password { get { return string.IsNullOrEmpty(_password) ? null : _password.Trim(); } set { _password = value; } }
					  
		//string
		private String _email;
        [DataMember]
        public String Email { get { return string.IsNullOrEmpty(_email) ? null : _email.Trim(); } set { _email = value; } }
					  
		//string
		private String _mobile;
        [DataMember]
        public String Mobile { get { return string.IsNullOrEmpty(_mobile) ? null : _mobile.Trim(); } set { _mobile = value; } }
							[DataMember]
        public DateTime CreateDate { get; set; }
							//lookup
		[DataMember]
        public RoleDto Role { get; set; }
						
		//Pickup List
		[DataMember]
        public int UserStatus { get; set; }
				    }

}